<!DOCTYPE html>
<!-- saved from url=(0048)file:///C:/Users/liaoym/Downloads/api%20(3).html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>商城商户端</title>
      
      <style>@charset "UTF-8";
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
  margin: 0;
  padding: 0;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width: 6px;
}

/* 外层轨道 */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset006pxrgba(255, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.1);
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.2);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
  font-size: 13px;
  line-height: 25px;
  color: #393838;
  position: relative;
}

table {
  margin: 10px 0 15px 0;
  border-collapse: collapse;
}

td,
th {
  border: 1px solid #ddd;
  padding: 3px 10px;
}

th {
  padding: 5px 10px;
}

a, a:link, a:visited {
  color: #34495e;
  text-decoration: none;
}

a:hover, a:focus {
  color: #59d69d;
  text-decoration: none;
}

a img {
  border: none;
}

p {
  padding-left: 10px;
  margin-bottom: 9px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #404040;
  line-height: 36px;
}

h1 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
  line-height: 50px;
}

h2 {
  font-size: 28px;
  padding-top: 10px;
  padding-bottom: 10px;
}

h3 {
  clear: both;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 3px solid #59d69d;
  padding-left: 8px;
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 13px;
}

hr {
  margin: 0 0 19px;
  border: 0;
  border-bottom: 1px solid #ccc;
}

blockquote {
  padding: 13px 13px 21px 15px;
  margin-bottom: 18px;
  font-family: georgia, serif;
  font-style: italic;
}

blockquote:before {
  font-size: 40px;
  margin-left: -10px;
  font-family: georgia, serif;
  color: #eee;
}

blockquote p {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  margin-bottom: 0;
  font-style: italic;
}

code,
pre {
  font-family: Monaco, Andale Mono, Courier New, monospace;
}

code {
  background-color: #fee9cc;
  color: rgba(0, 0, 0, 0.75);
  padding: 1px 3px;
  font-size: 12px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

pre {
  display: block;
  padding: 14px;
  margin: 0 0 18px;
  line-height: 16px;
  font-size: 11px;
  border: 1px solid #d9d9d9;
  white-space: pre-wrap;
  word-wrap: break-word;
  background: #f6f6f6;
}

pre code {
  background-color: #f6f6f6;
  color: #737373;
  font-size: 11px;
  padding: 0;
}

sup {
  font-size: 0.83em;
  vertical-align: super;
  line-height: 0;
}

* {
  -webkit-print-color-adjust: exact;
}

@media print {
  body,
  code,
  pre code,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: black;
  }

  table,
  pre {
    page-break-inside: avoid;
  }
}
html,
body {
  height: 100%;
}

.table-of-contents {
  position: fixed;
  top: 61px;
  left: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 260px;
}

.table-of-contents > ul > li > a {
  font-size: 20px;
  margin-bottom: 16px;
  margin-top: 16px;
}

.table-of-contents ul {
  overflow: auto;
  margin: 0px;
  height: 100%;
  padding: 0px 0px;
  box-sizing: border-box;
  list-style-type: none;
}

.table-of-contents ul li {
  padding-left: 20px;
}

.table-of-contents a {
  padding: 2px 0px;
  display: block;
  text-decoration: none;
}

.content-right {
  max-width: 700px;
  margin-left: 290px;
  padding-left: 70px;
  flex-grow: 1;
}
.content-right h2:target {
  padding-top: 80px;
}

body > p {
  margin-left: 30px;
}

body > table {
  margin-left: 30px;
}

body > pre {
  margin-left: 30px;
}

.curProject {
  position: fixed;
  top: 20px;
  font-size: 25px;
  color: black;
  margin-left: -240px;
  width: 240px;
  padding: 5px;
  line-height: 25px;
  box-sizing: border-box;
}

.g-doc {
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
}

.curproject-name {
  font-size: 42px;
}

.m-header {
  background: #32363a;
  height: 56px;
  line-height: 56px;
  padding-left: 60px;
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  right: 0;
}
.m-header .title {
  font-size: 22px;
  color: #fff;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  margin-left: 16px;
  padding: 0;
  line-height: 56px;
  border: none;
}
.m-header .nav {
  color: #fff;
  font-size: 16px;
  position: absolute;
  right: 32px;
  top: 0;
}
.m-header .nav a {
  color: #fff;
  margin-left: 16px;
  padding: 8px;
  transition: color .2s;
}
.m-header .nav a:hover {
  color: #59d69d;
}

.m-footer {
  border-top: 1px solid #ddd;
  padding-top: 16px;
  padding-bottom: 16px;
}

/*# sourceMappingURL=defaultTheme.css.map */
</style>
      </head>
      <body>
        <div class="m-header">
          <a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#" style="display: inherit;"><svg class="svg" width="32px" height="32px" viewBox="0 0 64 64" version="1.1"><title>Icon</title><desc>Created with Sketch.</desc><defs><lineargradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1"><stop stop-color="#FFFFFF" offset="0%"></stop><stop stop-color="#F2F2F2" offset="100%"></stop></lineargradient><circle id="path-2" cx="31.9988602" cy="31.9988602" r="2.92886048"></circle><filter x="-85.4%" y="-68.3%" width="270.7%" height="270.7%" filterUnits="objectBoundingBox" id="filter-3"><feoffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feoffset><fegaussianblur stdDeviation="1.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></fegaussianblur><fecolormatrix values="0 0 0 0 0   0 0 0 0 0   0 0 0 0 0  0 0 0 0.159703351 0" type="matrix" in="shadowBlurOuter1"></fecolormatrix></filter></defs><g id="首页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="大屏幕"><g id="Icon"><circle id="Oval-1" fill="url(#linearGradient-1)" cx="32" cy="32" r="32"></circle><path d="M36.7078009,31.8054514 L36.7078009,51.7110548 C36.7078009,54.2844537 34.6258634,56.3695395 32.0579205,56.3695395 C29.4899777,56.3695395 27.4099998,54.0704461 27.4099998,51.7941246 L27.4099998,31.8061972 C27.4099998,29.528395 29.4909575,27.218453 32.0589004,27.230043 C34.6268432,27.241633 36.7078009,29.528395 36.7078009,31.8054514 Z" id="blue" fill="#2359F1" fill-rule="nonzero"></path><path d="M45.2586091,17.1026914 C45.2586091,17.1026914 45.5657231,34.0524383 45.2345291,37.01141 C44.9033351,39.9703817 43.1767091,41.6667796 40.6088126,41.6667796 C38.040916,41.6667796 35.9609757,39.3676862 35.9609757,37.0913646 L35.9609757,17.1034372 C35.9609757,14.825635 38.0418959,12.515693 40.6097924,12.527283 C43.177689,12.538873 45.2586091,14.825635 45.2586091,17.1026914 Z" id="green" fill="#57CF27" fill-rule="nonzero" transform="translate(40.674608, 27.097010) rotate(60.000000) translate(-40.674608, -27.097010) "></path><path d="M28.0410158,17.0465598 L28.0410158,36.9521632 C28.0410158,39.525562 25.9591158,41.6106479 23.3912193,41.6106479 C20.8233227,41.6106479 18.7433824,39.3115545 18.7433824,37.035233 L18.7433824,17.0473055 C18.7433824,14.7695034 20.8243026,12.4595614 23.3921991,12.4711513 C25.9600956,12.4827413 28.0410158,14.7695034 28.0410158,17.0465598 Z" id="red" fill="#FF561B" fill-rule="nonzero" transform="translate(23.392199, 27.040878) rotate(-60.000000) translate(-23.392199, -27.040878) "></path><g id="inner-round"><use fill="black" fill-opacity="1" filter="url(#filter-3)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#path-2"></use><use fill="#F7F7F7" fill-rule="evenodd" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#path-2"></use></g></g></g></g></svg></a>
          <a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#"><h1 class="title">YAPI 接口文档</h1></a>
          <div class="nav">
            <a href="https://hellosean1025.github.io/yapi/">YApi</a>
          </div>
        </div>
        <div class="g-doc">
          <div class="table-of-contents"><ul><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u8f66u8f86u7ba1u7406">车辆管理</a><ul><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u4fddu5b58u8349u7a3f0a3ca20id3du4fddu5b58u8349u7a3f3e203ca3e">保存草稿
</a><a id="保存草稿"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u7533u8bf7u8bc4u4f300a3ca20id3du7533u8bf7u8bc4u4f303e203ca3e">申请评估
</a><a id="申请评估"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u83b7u53d6u5355u4e2au8f66u8f86u4fe1u606f0a3ca20id3du83b7u53d6u5355u4e2au8f66u8f86u4fe1u606f3e203ca3e">获取单个车辆信息
</a><a id="获取单个车辆信息"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u5206u9875u83b7u53d6u7528u6237u6240u6709u8f66u8f860a3ca20id3du5206u9875u83b7u53d6u7528u6237u6240u6709u8f66u8f863e203ca3e">分页获取用户所有车辆
</a><a id="分页获取用户所有车辆"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u63d0u4ea4u5ba1u68380a3ca20id3du63d0u4ea4u5ba1u68383e203ca3e">提交审核
</a><a id="提交审核"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u4e0bu67b6u8f66u8f860a3ca20id3du4e0bu67b6u8f66u8f863e203ca3e">下架车辆
</a><a id="下架车辆"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u53d6u6d88u7f6eu98760a3ca20id3du53d6u6d88u7f6eu98763e203ca3e">取消置顶
</a><a id="取消置顶"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u7f6eu9876u8f66u8f860a3ca20id3du7f6eu9876u8f66u8f863e203ca3e">置顶车辆
</a><a id="置顶车辆"> </a></li></ul></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u56feu7247u516cu5171u670du52a1">图片公共服务</a><ul><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u4fddu5b58u56feu72470a3ca20id3du4fddu5b58u56feu72473e203ca3e">保存图片
</a><a id="保存图片"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u56feu7247ocru8bc6u522bu53cau4fddu5b580a3ca20id3du56feu7247ocru8bc6u522bu53cau4fddu5b583e203ca3e">图片OCR识别及保存
</a><a id="图片OCR识别及保存"> </a></li></ul></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u516cu5171u670du52a1u63a5u53e3">公共服务接口</a><ul><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u6839u636eu8defu5f84u56feu72470a3ca20id3du6839u636eu8defu5f84u56feu72473e203ca3e">根据路径图片
</a><a id="根据路径图片"> </a></li><li><a href="file:///C:/Users/liaoym/Downloads/api%20(3).html#u83b7u53d6u5b57u51780a3ca20id3du83b7u53d6u5b57u51783e203ca3e">获取字典
</a><a id="获取字典"> </a></li></ul></li></ul></div>
          <div id="right" class="content-right">
           <h1 class="curproject-name"> 商城商户端 </h1> 
<h1 id="u8f66u8f86u7ba1u7406">车辆管理</h1>
<p></p>
<h2 id="u4fddu5b58u8349u7a3f0a3ca20id3du4fddu5b58u8349u7a3f3e203ca3e">保存草稿
<a id="保存草稿"> </a></h2>
<p></p>
<h3 id="">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/saveDraft</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-2">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>text</td>
<td>否</td>
<td>1</td>
<td>车辆id，新增车辆不填，更新保存必填</td>
</tr>
<tr>
<td>vin</td>
<td>text</td>
<td>是</td>
<td>LFV3A28K9E3409625</td>
<td>vin码</td>
</tr>
<tr>
<td>plateNo</td>
<td>text</td>
<td>否</td>
<td>闽D88888</td>
<td>车辆号牌</td>
</tr>
<tr>
<td>registerDate</td>
<td>text</td>
<td>否</td>
<td>2019-01-10</td>
<td>车辆注册日期</td>
</tr>
<tr>
<td>brandModel</td>
<td>text</td>
<td>否</td>
<td>奥迪牌</td>
<td>车辆品牌型号</td>
</tr>
<tr>
<td>useProperty</td>
<td>text</td>
<td>否</td>
<td>A</td>
<td>使用性质，字典类型：VEHICLE_USE_PROPERTY</td>
</tr>
<tr>
<td>owner</td>
<td>text</td>
<td>否</td>
<td>张三</td>
<td>车主姓名</td>
</tr>
<tr>
<td>ownerAddress</td>
<td>text</td>
<td>否</td>
<td>福建省厦门市思明区观音山</td>
<td>车主住所</td>
</tr>
<tr>
<td>carType</td>
<td>text</td>
<td>否</td>
<td>0</td>
<td>车辆类型 0:二手车 1:新车，默认0</td>
</tr>
<tr>
<td>mileage</td>
<td>text</td>
<td>否</td>
<td>10</td>
<td>表显里程(万公里)</td>
</tr>
<tr>
<td>price</td>
<td>text</td>
<td>否</td>
<td>8.88</td>
<td>商城标价（万元）</td>
</tr>
<tr>
<td>modelId</td>
<td>text</td>
<td>否</td>
<td>1</td>
<td>车辆详细配置id, 通过vin码查询获得carId，再通过carId查询配置id</td>
</tr>
<tr>
<td>name</td>
<td>text</td>
<td>否</td>
<td>奥迪 A6L 2009款 2.0 TFSI 标准型(自动)</td>
<td>车辆名称，从扫描vin码并查询车辆信息获得</td>
</tr>
<tr>
<td>detailHighlight</td>
<td>text</td>
<td>否</td>
<td>配置全景天窗，自动空调，LED大灯</td>
<td>配置亮点描述</td>
</tr>
<tr>
<td>color</td>
<td>text</td>
<td>否</td>
<td>0</td>
<td>车身颜色， 对应字典： VEHICLE_COLOR. 具体值为0:黑色  1:白色  2:红色  3:蓝色  4:象牙白  5:黄色  6:银灰  7:橙色</td>
</tr>
<tr>
<td>emissionStandard</td>
<td>text</td>
<td>否</td>
<td>国Ⅴ</td>
<td>排放标准，对应字典类型VEHICLE_EMISSION_STANDARD</td>
</tr>
<tr>
<td>location</td>
<td>text</td>
<td>否</td>
<td>厦门市</td>
<td>所属地，到市级</td>
</tr>
<tr>
<td>transferTimes</td>
<td>text</td>
<td>否</td>
<td>0</td>
<td>过户次数</td>
</tr>
<tr>
<td>productionDate</td>
<td>text</td>
<td>否</td>
<td>2019-01-01</td>
<td>出厂日期</td>
</tr>
<tr>
<td>examinationDate</td>
<td>text</td>
<td>否</td>
<td>2021-01-01</td>
<td>年检有效期</td>
</tr>
<tr>
<td>keyNum</td>
<td>text</td>
<td>否</td>
<td>2</td>
<td>钥匙个数</td>
</tr>
<tr>
<td>mark</td>
<td>text</td>
<td>否</td>
<td>一手车，车况精品，全程4s店保养，保养记录可查</td>
<td>车况描述</td>
</tr>
<tr>
<td>remarkVisible</td>
<td>text</td>
<td>否</td>
<td>1</td>
<td>车况描述客户端是否可见 0: 客户端不可见 1：客户端可见</td>
</tr>
<tr>
<td>commerciaInsuranceDate</td>
<td>text</td>
<td>否</td>
<td>2020-01-01</td>
<td>商业险到期日期</td>
</tr>
<tr>
<td>mandatoryInsuranceDate</td>
<td>text</td>
<td>否</td>
<td>2020-01-01</td>
<td>交强险到期日期</td>
</tr>
<tr>
<td>vehicleImages.certificationImgs.licenseImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>行驶证照片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.certificationImgs.registration12Img</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>登记证第一,二页照片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.certificationImgs.registrationLastImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>含签注信息的最后两页照片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.consoleImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>中控台图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.engineImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>发动机舱图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.rightbackImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>右后图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.seatImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>座椅图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.trunkImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>后备箱图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.leftfrontImg</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>左前图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImagesotherImgs[0]</td>
<td>text</td>
<td>否</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>其他图片上传后返回的地址，最多9张</td>
</tr>
</tbody>
</table>
<h3 id="-3">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功"
}
</code></pre>
<h2 id="u7533u8bf7u8bc4u4f300a3ca20id3du7533u8bf7u8bc4u4f303e203ca3e">申请评估
<a id="申请评估"> </a></h2>
<p></p>
<h3 id="-4">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/valuation/add</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-5">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>vehicleId</td>
<td>text</td>
<td>是</td>
<td>1</td>
<td>待评估的车辆id</td>
</tr>
<tr>
<td>identityFrontImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>证件照正面照片url</td>
</tr>
<tr>
<td>identityBackImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>证件照反面照片url</td>
</tr>
<tr>
<td>registration12Img</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>登记证第一,二页照片url</td>
</tr>
<tr>
<td>registration34Img</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>登记证第三、四页照片url</td>
</tr>
<tr>
<td>licenseMainImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>行驶证主页照片url</td>
</tr>
<tr>
<td>licenseSubImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>行驶证副页照片url</td>
</tr>
<tr>
<td>commerciaInsuranceImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>商业险保单图片照片url</td>
</tr>
<tr>
<td>mandatoryInsuranceImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>交强险保单图片照片url</td>
</tr>
<tr>
<td>corporationCertImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>公司营业执照或法人证书照片url</td>
</tr>
<tr>
<td>fixedAssetCertImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>固定资产车辆清查明细照片url</td>
</tr>
<tr>
<td>vatInvoiceImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>增值税专用发票开具明细照片url</td>
</tr>
<tr>
<td>vehicleProperty</td>
<td>text</td>
<td>是</td>
<td>0</td>
<td>车辆性质： 0：个人车辆   1：企业车辆</td>
</tr>
</tbody>
</table>
<h3 id="-6">返回数据</h3>
<pre><code class="language-javascript">{
  "code": "200",
  "message": "成功"
}
</code></pre>
<h2 id="u83b7u53d6u5355u4e2au8f66u8f86u4fe1u606f0a3ca20id3du83b7u53d6u5355u4e2au8f66u8f86u4fe1u606f3e203ca3e">获取单个车辆信息
<a id="获取单个车辆信息"> </a></h2>
<p></p>
<h3 id="-7">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/query/id</p>
<p><strong>Method：</strong> GET</p>
<p><strong>接口描述：</strong></p>
<h3 id="-8">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>2</td>
<td>车辆id</td>
</tr>
</tbody>
</table>
<h3 id="-9">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功",
    "data": {
        "id": 5,
        "vin": "LFV3A28K9E3409625",
        "plateNo": "闽D88888",
        "registerDate": "2019-01-10",
        "brandModel": "进口奥迪牌",
        "useProperty": "A",
        "owner": "张三",
        "ownerAddress": "福建省厦门市思明区观音山",
        "carType": "0",
        "mileage": 10.0,
        "price": 8.88,
        "name": "奥迪 A6L 2009款 2.0 TFSI 标准型(自动)",
        "modelId": 1,
        "detailHighlight": "配置全景天窗，自动空调，LED大灯",
        "color": "0",
        "emissionStandard": "国Ⅴ",
        "location": "厦门市",
        "transferTimes": 0,
        "productionDate": "2019-01-01",
        "examinationDate": "2021-01-01",
        "keyNum": 2,
        "mark": "一手车，车况精品，全程4s店保养，保养记录可查",  //车况描述
        "remarkVisible": 1,   //车况描述是否可见
        "commerciaInsuranceDate": "2020-01-01",
        "mandatoryInsuranceDate": "2020-01-01",
        "newCarPrice": 36.24,   //新车落地价（万元）
        "gearType": "CVT无级变速",
        "displacement": "2.0T",
        "status": "VERIFYING",		//车辆状态，对应字典类型：MALL_VEHICLE_STATUS
        "top": 0,		//置顶类型
        "evaluated": 0,   //是否已评估  0：未评估   1：待评估  2：已评估
        "memberCode": "91350206MA2XP65U0D",
        "insertTime": "2020-03-30 14:11:16",
        "vehicleImages": {
            "leftfrontImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
            "rightbackImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
            "consoleImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
            "seatImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
            "engineImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
            "trunkImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
            "otherImgs": ["D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg"],
            "certificationImgs": {
                "licenseImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
                "registration12Img": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg",
                "registrationLastImg": "D:\\\\document\\test\\temp\\20200330\\e41a5d0113253dd69da5799ec1cca543.jpg"
            }
        },
        "thumbnails": {
            "leftfrontImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgK",
			"rightbackImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKD",
			"consoleImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQND",
			"seatImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLD",
			"engineImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDA",
			"trunkImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLD",
			"otherImgs": ["/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsL"],
			"certificationImgs": {
                "licenseImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKD",
				"registration12Img": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwc",
				"registrationLastImg": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwc"
			}
        }
    }
}
</code></pre>
<h2 id="u5206u9875u83b7u53d6u7528u6237u6240u6709u8f66u8f860a3ca20id3du5206u9875u83b7u53d6u7528u6237u6240u6709u8f66u8f863e203ca3e">分页获取用户所有车辆
<a id="分页获取用户所有车辆"> </a></h2>
<p></p>
<h3 id="-10">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/query/all</p>
<p><strong>Method：</strong> GET</p>
<p><strong>接口描述：</strong></p>
<h3 id="-11">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>keywords</td>
<td>否</td>
<td>奥迪</td>
<td>vin 码/品牌车系等关键字</td>
</tr>
<tr>
<td>status</td>
<td>否</td>
<td>VERIFYING</td>
<td>车辆状态 对应字典：MALL_VEHICLE_STATUS</td>
</tr>
<tr>
<td>pageSize</td>
<td>是</td>
<td>10</td>
<td>每页元素数量，默认10</td>
</tr>
<tr>
<td>pageNumber</td>
<td>是</td>
<td>1</td>
<td>第几页，默认1</td>
</tr>
</tbody>
</table>
<h3 id="-12">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功",
    "data": {
        "pageSize": 10,
        "pageNumber": 0,
        "totalElements": null,
        "totalPages": null,
        "content": [{
            "id": 2,
            "mileage": 10.0,  //表显里程（万公里）
            "price": 8.88,         //商城标价（万元）
            "name": "奥迪 A6L 2009款 2.0 TFSI 标准型(自动)",
            "location": "厦门市",
            "newCarPrice": 36.23,   //新车价格（万元）
            "status": "VERIFYING",         //车辆状态 对应字典：MALL_VEHICLE_STATUS
            "top": 1,                           //置顶优先级，越大优先级越高
            "evaluated": null,                 //是否已评估   false:未评估   true:已评估
            "image": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKD  //车辆左前图片缩略图
			}]
    }
}
</code></pre>
<h2 id="u63d0u4ea4u5ba1u68380a3ca20id3du63d0u4ea4u5ba1u68383e203ca3e">提交审核
<a id="提交审核"> </a></h2>
<p></p>
<h3 id="-13">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/commit</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-14">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>text</td>
<td>否</td>
<td>1</td>
<td>车辆id，新增车辆不填，更新保存必填</td>
</tr>
<tr>
<td>vin</td>
<td>text</td>
<td>是</td>
<td>LFV3A28K9E3409625</td>
<td>vin码</td>
</tr>
<tr>
<td>plateNo</td>
<td>text</td>
<td>是</td>
<td>闽D88888</td>
<td>车辆号牌</td>
</tr>
<tr>
<td>registerDate</td>
<td>text</td>
<td>是</td>
<td>2019-01-10</td>
<td>车辆注册日期</td>
</tr>
<tr>
<td>brandModel</td>
<td>text</td>
<td>是</td>
<td>奥迪牌</td>
<td>车辆品牌型号</td>
</tr>
<tr>
<td>useProperty</td>
<td>text</td>
<td>是</td>
<td>A</td>
<td>使用性质，字典类型：VEHICLE_USE_PROPERTY</td>
</tr>
<tr>
<td>owner</td>
<td>text</td>
<td>是</td>
<td>张三</td>
<td>车主姓名</td>
</tr>
<tr>
<td>ownerAddress</td>
<td>text</td>
<td>是</td>
<td>福建省厦门市思明区观音山</td>
<td>车主住所</td>
</tr>
<tr>
<td>carType</td>
<td>text</td>
<td>是</td>
<td>0</td>
<td>车辆类型 0:二手车 1:新车，默认0</td>
</tr>
<tr>
<td>mileage</td>
<td>text</td>
<td>是</td>
<td>10</td>
<td>表显里程(万公里)</td>
</tr>
<tr>
<td>price</td>
<td>text</td>
<td>是</td>
<td>8.88</td>
<td>商城标价（万元）</td>
</tr>
<tr>
<td>modelId</td>
<td>text</td>
<td>是</td>
<td>1</td>
<td>车辆详细配置id, 通过vin码查询获得carId，再通过carId查询配置id</td>
</tr>
<tr>
<td>name</td>
<td>text</td>
<td>是</td>
<td>奥迪 A6L 2009款 2.0 TFSI 标准型(自动)</td>
<td>车辆名称，从扫描vin码并查询车辆信息获得</td>
</tr>
<tr>
<td>detailHighlight</td>
<td>text</td>
<td>是</td>
<td>配置全景天窗，自动空调，LED大灯</td>
<td>配置亮点描述</td>
</tr>
<tr>
<td>color</td>
<td>text</td>
<td>是</td>
<td>0</td>
<td>车身颜色， 对应字典： VEHICLE_COLOR. 具体值为0:黑色  1:白色  2:红色  3:蓝色  4:象牙白  5:黄色  6:银灰  7:橙色</td>
</tr>
<tr>
<td>emissionStandard</td>
<td>text</td>
<td>是</td>
<td>国Ⅴ</td>
<td>排放标准，对应字典类型VEHICLE_EMISSION_STANDARD</td>
</tr>
<tr>
<td>location</td>
<td>text</td>
<td>是</td>
<td>厦门市</td>
<td>所属地，到市级</td>
</tr>
<tr>
<td>transferTimes</td>
<td>text</td>
<td>是</td>
<td>0</td>
<td>过户次数</td>
</tr>
<tr>
<td>productionDate</td>
<td>text</td>
<td>是</td>
<td>2019-01-01</td>
<td>出厂日期</td>
</tr>
<tr>
<td>examinationDate</td>
<td>text</td>
<td>是</td>
<td>2021-01-01</td>
<td>年检有效期</td>
</tr>
<tr>
<td>keyNum</td>
<td>text</td>
<td>是</td>
<td>2</td>
<td>钥匙个数</td>
</tr>
<tr>
<td>mark</td>
<td>text</td>
<td>是</td>
<td>一手车，车况精品，全程4s店保养，保养记录可查</td>
<td>车况描述</td>
</tr>
<tr>
<td>remarkVisible</td>
<td>text</td>
<td>是</td>
<td>1</td>
<td>车况描述客户端是否可见 0: 客户端不可见 1：客户端可见</td>
</tr>
<tr>
<td>commerciaInsuranceDate</td>
<td>text</td>
<td>是</td>
<td>2020-01-01</td>
<td>商业险到期日期</td>
</tr>
<tr>
<td>mandatoryInsuranceDate</td>
<td>text</td>
<td>是</td>
<td>2020-01-01</td>
<td>交强险到期日期</td>
</tr>
<tr>
<td>vehicleImages.certificationImgs.licenseImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>行驶证照片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.certificationImgs.registration12Img</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>登记证第一,二页照片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.certificationImgs.registrationLastImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>含签注信息的最后两页照片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.consoleImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>中控台图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.engineImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>发动机舱图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.rightBackImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>右后图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.seatImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>座椅图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.trunkImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>后备箱图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.leftFrontImg</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>左前图片上传后返回的地址</td>
</tr>
<tr>
<td>vehicleImages.otherImgs[0]</td>
<td>text</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>其他图片上传后返回的地址，最多9张</td>
</tr>
</tbody>
</table>
<h3 id="-15">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功"
}
</code></pre>
<h2 id="u4e0bu67b6u8f66u8f860a3ca20id3du4e0bu67b6u8f66u8f863e203ca3e">下架车辆
<a id="下架车辆"> </a></h2>
<p></p>
<h3 id="-16">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/putOff</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-17">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>text</td>
<td>是</td>
<td>1</td>
<td>下架车辆的id</td>
</tr>
</tbody>
</table>
<h3 id="-18">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功"
}
</code></pre>
<h2 id="u53d6u6d88u7f6eu98760a3ca20id3du53d6u6d88u7f6eu98763e203ca3e">取消置顶
<a id="取消置顶"> </a></h2>
<p></p>
<h3 id="-19">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/setUntop</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-20">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>text</td>
<td>是</td>
<td>2</td>
<td>车辆id</td>
</tr>
</tbody>
</table>
<h3 id="-21">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功"
}
</code></pre>
<h2 id="u7f6eu9876u8f66u8f860a3ca20id3du7f6eu9876u8f66u8f863e203ca3e">置顶车辆
<a id="置顶车辆"> </a></h2>
<p></p>
<h3 id="-22">基本信息</h3>
<p><strong>Path：</strong> /vehicleInfo/setTop</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-23">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>text</td>
<td>是</td>
<td>1</td>
<td>下架车辆的id</td>
</tr>
</tbody>
</table>
<h3 id="-24">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功"
}
</code></pre>
<h1 id="u56feu7247u516cu5171u670du52a1">图片公共服务</h1>
<p></p>
<h2 id="u4fddu5b58u56feu72470a3ca20id3du4fddu5b58u56feu72473e203ca3e">保存图片
<a id="保存图片"> </a></h2>
<p></p>
<h3 id="-25">基本信息</h3>
<p><strong>Path：</strong> /image/save</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-26">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>image</td>
<td>text</td>
<td>是</td>
<td></td>
<td>base64格式图片</td>
</tr>
</tbody>
</table>
<h3 id="-27">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功",
	"data": "/opt/image/20200330/ASFSCAOEIFU1R80J.jpg"
}
</code></pre>
<h2 id="u56feu7247ocru8bc6u522bu53cau4fddu5b580a3ca20id3du56feu7247ocru8bc6u522bu53cau4fddu5b583e203ca3e">图片OCR识别及保存
<a id="图片OCR识别及保存"> </a></h2>
<p></p>
<h3 id="-28">基本信息</h3>
<p><strong>Path：</strong> /image/ocrAndSave</p>
<p><strong>Method：</strong> POST</p>
<p><strong>接口描述：</strong></p>
<h3 id="-29">请求参数</h3>
<p><strong>Headers</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数值</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content-Type</td>
<td>application/x-www-form-urlencoded</td>
<td>是</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Body</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>imageType</td>
<td>text</td>
<td>是</td>
<td>VL</td>
<td>要识别的图片类型，VL:车辆行驶证识别，VC : 车辆合格证识别 , VI : 机动车销售发票识别, P1 : 身份证识别， C3 : 营业执照，iocr: 通用文字末班识别</td>
</tr>
<tr>
<td>image</td>
<td>text</td>
<td>是</td>
<td></td>
<td>base64 格式的图片</td>
</tr>
<tr>
<td>idCardSide</td>
<td>text</td>
<td>否</td>
<td>front</td>
<td>如果是身份证的话，识别的是正面还是反面 front：身份证含照片的一面；back：身份证带国徽的一面</td>
</tr>
</tbody>
</table>
<h3 id="-30">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功",
	"data": {
	"url": "/opt/image/20200330/ASFSCAOEIFU1R80J.jpg",	//图片保存路径
	"errno": 0,
	"msg": "success",
	"data": {
		"words_result_num": 10,
		"words_result": {	//识别结果
			"品牌型号": {
				"words": "保时捷GT37182RUCRE"
			},
			"发证日期": {
				"words": "20160104"
			},
			"使用性质": {
				"words": "非营运"
			},
			"发动机号码": {
				"words": "20832"
			},
			"号牌号码": {
				"words": "苏A001"
			},
			"所有人": {
				"words": "圆圆"
			},
			"住址": {
				"words": "南京市江宁区弘景大道"
			},
			"注册日期": {
				"words": "20160104"
			},
			"车辆识别代号": {
				"words": "HCE58"
			},
			"车辆类型": {
				"words": "小型轿车"
			}
		}
	}
}
}
</code></pre>
<h1 id="u516cu5171u670du52a1u63a5u53e3">公共服务接口</h1>
<p></p>
<h2 id="u6839u636eu8defu5f84u56feu72470a3ca20id3du6839u636eu8defu5f84u56feu72473e203ca3e">根据路径图片
<a id="根据路径图片"> </a></h2>
<p></p>
<h3 id="-31">基本信息</h3>
<p><strong>Path：</strong> /common/image</p>
<p><strong>Method：</strong> GET</p>
<p><strong>接口描述：</strong></p>
<h3 id="-32">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>imagePath</td>
<td>是</td>
<td>D:\document\test\temp\20200330\e41a5d0113253dd69da5799ec1cca543.jpg</td>
<td>图片路径</td>
</tr>
</tbody>
</table>
<h3 id="-33">返回数据</h3>
<pre><code class="language-javascript">图片流
</code></pre>
<h2 id="u83b7u53d6u5b57u51780a3ca20id3du83b7u53d6u5b57u51783e203ca3e">获取字典
<a id="获取字典"> </a></h2>
<p></p>
<h3 id="-34">基本信息</h3>
<p><strong>Path：</strong> /dict/findDict</p>
<p><strong>Method：</strong> GET</p>
<p><strong>接口描述：</strong></p>
<h3 id="-35">请求参数</h3>
<p><strong>Query</strong></p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>是否必须</th>
<th>示例</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>category</td>
<td>是</td>
<td>MALL_VEHICLE_STATUS</td>
<td>字典类型</td>
</tr>
</tbody>
</table>
<h3 id="-36">返回数据</h3>
<pre><code class="language-javascript">{
    "code": "200",
    "message": "成功",
    "data": [{
        "id": 1987,
        "code": "DRAFT",
        "name": "草稿",
        "des": "草稿状态",
        "category": "MALL_VEHICLE_STATUS",
        "state": 0,
        "sequence": 1
    }, {
        "id": 1988,
        "code": "VERIFYING",
        "name": "审核中",
        "des": "",
        "category": "MALL_VEHICLE_STATUS",
        "state": 0,
        "sequence": 2
    }, {
        "id": 1989,
        "code": "ONSELLING",
        "name": "已上架",
        "des": "上架状态",
        "category": "MALL_VEHICLE_STATUS",
        "state": 0,
        "sequence": 3
    }, {
        "id": 1990,
        "code": "PUTOFF",
        "name": "已下架",
        "des": "下架状态",
        "category": "MALL_VEHICLE_STATUS",
        "state": 0,
        "sequence": 4
    }, {
        "id": 1991,
        "code": "SOLD",
        "name": "已过户",
        "des": "",
        "category": "MALL_VEHICLE_STATUS",
        "state": 0,
        "sequence": 5
    }, {
        "id": 1992,
        "code": "VERIFY_FAIL",
        "name": "审核不通过",
        "des": "",
        "category": "MALL_VEHICLE_STATUS",
        "state": 0,
        "sequence": 6
    }]
}
</code></pre>

            <footer class="m-footer">
              <p>Build by <a href="https://ymfe.org/">YMFE</a>.</p>
            </footer>
          </div>
        </div>
      
      
      </body></html>